package top.xiaocao.remote;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 
 * @className: HelloRemote
 * @comment: 正常接口调用
 * @date: 2021年11月21日 下午7:15:11 
 *
 * @author zhengchong.wan
 * @since V1.0.0
 */
@FeignClient(name= "spring-cloud-producer", fallback = HelloRemoteHystrix.class)
public interface HelloRemote {

    @RequestMapping(value = "/hello")
    public String hello(@RequestParam(value = "name") String name);

}
